package com.bright.cwduijie.duijie.pojo.po;

import lombok.Data;

import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author  hxj
 * @Date 2024-07-26 15:09:05 
 * @Description  
 */

@Data
@Entity
@Table(name ="DUIJIE_VAR")
public class DuijieVar implements Serializable {

	private static final long serialVersionUID =  7368592476897554384L;

	/**
	 * 主键ID
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
   	@Column(name = "id")
	private Integer id;

	/**
	 * 变量名称
	 */
   	@Column(name = "varKey")
	private String varKey;

	/**
	 * 变量类型;1 字符串 2 整型 3 有小数数值 4 日期 5 布尔
	 */
   	@Column(name = "varType")
	private Integer varType;

   	@Column(name = "strVal")
	private String strVal;

   	@Column(name = "intVal")
	private Integer intVal;

   	@Column(name = "moneyVal")
	private Double moneyVal;

   	@Column(name = "dateVal")
	private Date dateVal;

   	@Column(name = "boolVal")
	private Boolean boolVal;

   	@Column(name = "writeDate")
	private Date writeDate;

}
